﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///SqlLike 的摘要说明
/// </summary>
public class SqlLike
{
	public SqlLike()
	{
		//
		//TODO: 在此处添加构造函数逻辑
		//
	}
    public static string LikeString(string title)
    {
        if (string.IsNullOrEmpty(title))
            return "%%";
        else
            return "%"+title+"%";
    }
}